From: Florian Müllner Date: Fri, 17 Feb 2012 16:01:30 +0000 (+0100) Subject: wanda: Fix after clutter deprecation changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7020 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=aee28616a9c92da0240143b84b8b50300f7a1ff5;p=gnome-shell.git wanda: Fix after clutter deprecation changes Animated icons now use ClutterActor instead of ClutterGroup, so adjust to that change. --- diff --git a/js/ui/wanda.js b/js/ui/wanda.js index cfbe47eaf..9deb448fb 100644 --- a/js/ui/wanda.js +++ b/js/ui/wanda.js @@ -89,9 +89,9 @@ const WandaIcon = new Lang.Class({ return true; } - this._animations.get_nth_child(this._i).hide(); + this._animations.get_child_at_index(this._i).hide(); this._i = (this._i + 1) % n; - this._animations.get_nth_child(this._i).show(); + this._animations.get_child_at_index(this._i).show(); return true; },